package com.hualude.roadsign.service;

import com.hualude.roadsign.dto.*;

import java.util.List;

/**
 * Created by TonyChan on 2017/4/15.
 */
public interface NoticeListService {

    public List<NoticeListDto> getNoticeListHome(Integer userId) throws Exception;

    public NoticeListDto getNoticeByNotceId(Integer userId) throws Exception;

    /**
     * @Description: noticeList DATATABLE
     * @Author: pan-jianan
     * @Date: 2017/5/2 10:53
     */
    public List<NoticeListDto> getNoticeList4DT(Integer start, Integer length, Integer userId, String search) throws Exception;

    public Integer deleteNoticeByUserNoticeId(String userNoticeIds) throws Exception;

    /**
     * @Description: Android 设为已读
     * @Author: pan-jianan
     * @Date: 2017/4/19 22:06
     */
    public Integer updateIsRead(Integer userNoticeId) throws Exception;
}
